<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="template">
<head>
    <meta charset="UTF-8" />
    <title th:text="#{System.laws}"></title>
    <link rel="stylesheet" href="../css/newsNous.css" />
    <script type="text/javascript" src="../js/pager_new.js"></script>
</head>
<body id="orange">
<div class="container">
    <div class="content">
        <div class="container-right" layout:fragment="content">
            <div class="crumbs">
                <ul>
                    <li><a href="/index/home" th:text="#{System.home}"></a><i class="triangle-icon"></i></li>
                    <li><a href="/NewsNous/laws" th:text="#{System.news} + #{System.info}"></a><i class="triangle-icon"></i></li>
                    <li class="active"><a href="javascript:;" th:text="#{System.laws}"></a></li>
                </ul>
            </div>
            <div class="detailsub">
	            <ul class="news-box">
				  <li th:each="news,newsStat: ${newsList}">
				    <div class="newsdate">
				         <span class="date1" th:text="${newsStat.count}"></span>
				         <span class="date2" th:text="${#calendars.format(news.operatime,'yyyy-MM-dd')}"></span>
				    </div>
				    <div class="newscon">
						<a class="title" th:href="'/NewsNous/lawsInfo?lawsId=' + ${news.lawnousid}" th:text="${news.title}"></a>
						<div class="introduct" th:text="${news.description}"></div>
				    </div>
				  </li>
				</ul>
                <div th:if="${newsList == null} or ${#lists.toList(newsList).size() == 0}" style="height: 300px;line-height:300px;text-align:center;">
                    <h2 th:text="#{System.noData}"></h2>
                </div>
                <form id="pageForm" name="pageForm" action="/NewsNous/laws" method="post">
                </form>
                <div class="page-main" th:include="pager :: copy">
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>